package com.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class User {
    private int id;
    private String userName;
    private String userPassword;
    private String picPath;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date creationDate; // 创建时间
    private String photPath;

    public String getPhotPath() {
        return photPath;
    }

    public void setPhotPath(String photPath) {
        this.photPath = photPath;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }
}
